# s1 = 'hello'
# s2 = "hello"
# s3 = """hello"""
# s4 = 'hello\nworld'
# print(s4)
# s5 = 'I\'m Tom'
# print(s5)

# 切片截取 字符串 包头不包尾
# s = 'qwertyuipo'
# s1 = s[2:5:1]
# s2 = s[:4]
# print(s1)
# print(s2)

# 字符串倒序
# s = 'wwewertfd'
# s1 = s[::-1]
# print(s1)

# 字符串的函数
# ss = 'hello python'
# print(ss.find('py'))  # 查找到返回下标，找不到返回-1
# print(ss.find('l'))
# print(ss.split(' '))
